package com.example.sys.Service;


import com.example.sys.Entity.StudentInfo;
import com.example.sys.Vo.StudentInfoClassInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentInfoService {

    List<StudentInfo> getAllStudentInfo(String name);

    PageInfo<StudentInfoClassInfo> getPageStudentInfoClassInfo(int pageNum, int pageSize);

    Integer  delStuById(Integer id);

    List<StudentInfoClassInfo> getAllStuAndClassByName(String stuName);

    List<StudentInfoClassInfo> getAllStuAndClassByclsAndName(String stuName, Integer clsid);

    Integer deleteByID(Integer stuid);

    Integer updateStudentInfo(StudentInfo studentInfo);

    Integer insertStudentInfo(StudentInfo studentInfo);
}
